import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
// 导入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.mount('#app')
app.use(ElementPlus)
//默认参数设置 
axios.defaults.baseURL = 'http://localhost:80/';
 
axios.defaults.headers.post['Content-Type'] = 'application/json;charset=UTF-8';